﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace NeedForSmash
{
    class KirbyWalk : Animation
    {
        public KirbyWalk(Quad quad)
            : base(quad)
        {
            AnimationSprite[] animation = new AnimationSprite[2];

            animation[0] = new AnimationSprite();
            animation[0].Duration = 750;
            animation[0].TextureUpperLeft = new Vector2(0.0f, 0.0f);
            animation[0].TextureUpperRight = new Vector2(0.1f, 0.0f);
            animation[0].TextureLowerLeft = new Vector2(0.0f, 0.1f);
            animation[0].TextureLowerRight = new Vector2(0.1f, 0.1f);
            animation[1] = new AnimationSprite();
            animation[1].Duration = 750;
            animation[1].TextureUpperLeft = new Vector2(0.1f, 0.0f);
            animation[1].TextureUpperRight = new Vector2(0.2f, 0.0f);
            animation[1].TextureLowerLeft = new Vector2(0.1f, 0.1f);
            animation[1].TextureLowerRight = new Vector2(0.2f, 0.1f);
            AnimationSpriteList.Add(animation[0]);
            AnimationSpriteList.Add(animation[1]);
        }
    }
}
